package com.ht.demo.service.manager.system;

import com.ht.demo.common.appexception.AppException;
import com.ht.demo.common.page.PageBO;
import com.ht.demo.common.pojo.bo.system.SysPostBO;
import com.ht.demo.common.pojo.qto.system.SysPostQTO;

import java.util.List;

/**
 * @Author hdengxian
 * @Date 2023/5/26 15:24
 */
public interface SysPostManager {
    Boolean insertPost(SysPostBO post) throws AppException;
    Boolean updatePost(SysPostBO post) throws AppException;
    Boolean deletePost(Long[] sysPostIds) throws AppException;

    SysPostBO getPostById(Long sysPostId) throws AppException;
    List<SysPostBO> getPostList() throws AppException;
    PageBO<SysPostBO> getPostForPage(SysPostQTO qto) throws AppException;
}
